﻿using System.Collections.Generic;

namespace Learun.Application.Web.Common
{
    /// <summary>
    /// 项目备份或项目还原
    /// </summary>
    public class BackupTable
    {
        /// <summary>
        /// 要备份或者还原的表名称
        /// </summary>
        /// <returns></returns>
        public static List<string> GetBackupTableList()
        {
            List<string> list_tableName = new List<string> { "ec_enginedata_property",
                                                            "ec_enginedata_pixel",
                                                            "ec_enginedata",
                                                            "ec_objecttypelib",
                                                            "ec_objecttypep",
                                                            "ec_objecttype",
                                                            "ec_property",
                                                            "ec_propertyg",
                                                            "ec_operate_log",
                                                            "ec_drawing_publish",
                                                            "ec_drawing_syn",
                                                            "ec_drawing_file",
                                                            "ec_drawing_catalogue",
                                                            "ec_library_file",
                                                            "ec_library_catalogue",
                                                            "ec_template_file",
                                                            "ec_template_catalogue",
                                                            "ec_dataitem",
                                                            "ec_dataitemdetail",
                                                            "ec_report_catalogue",
                                                            "ec_report_file",
                                                            "ec_enginedata_propertyhis",
                                                            "ec_reltype",
                                                            "ec_enginedata_rel",

                                                            "ec_cable_set",
                                                            "ec_relData",
                                                            "ec_access",
                                                            "ec_notification",
                                                            "ec_case",
                                                            "ec_CircuitBreaker",
                                                            "ec_cable_set_wire",
                                                            "ec_Panel",
                                                            "ec_Panel_Channel",
                                                            "ec_Panel_Strip",
                                                            "ec_panel_strip_term",
                                                            "ec_projectSettings",
                                                            "ec_Softtag",
                                                            "ec_Wire_Group",
                                                            "ec_wire_group_log",
                                                            "ec_wire_group_notice",
                                                            "ec_wire_group_propertyhis",
                                                            "ec_Wire_Group_Template",
                                                            "ec_Wire_Terminal",
                                                            "ec_parallel_cable",
            };
            return list_tableName;
        }
    }
}